# # 导包
import requests

# 发送请求
response = requests.get(url="http://www.baidu.com/s?wd=python")
# 打印结果
print(response.text)  # 文本格式响应数据
#
# import requests
#
# response = requests.get(url="http://www.baidu.com/s?wd=接口测试")
# print(response.text)
